{extend name="base"}
{block name="title"}录像回放{/block}
{block name="head"}
<script>
$(function () {
  $('input[name=btnSubmit]').click(function () {
    var code = $('input[name=search]').val();
    if (!code) {
      alert("请输入播放码");
      return false;
    }
    var url = "http://h5.123pk123.com/?code=o1BvK0rMuR7pFTcHTDQTMSAphpjo&query=playback_code=" + code;
    console.log(url);

    dialog({
      title: '录像回放',
      url: url,
      width: 960,
      height: 640
    }).showModal();

    return false;
  });
});
</script>
{/block}
{block name="body"}
<body class="mainbody">
<form>

<!--导航栏-->
<div class="location">
  <a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
  <a href="{:url('index/home')}" class="home"><i class="iconfont icon-home"></i><span>首页</span></a>
  <i class="arrow iconfont icon-arrow-right"></i>
  <span>录像回放</span>
</div>
<!--/导航栏-->

<!--内容-->
<div id="floatHead" class="content-tab-wrap">
  <div class="content-tab">
    <div class="content-tab-ul-wrap">
      <ul>
        <li><a class="selected" href="javascript:;">录像回放</a></li>
      </ul>
    </div>
  </div>
</div>

<div class="tab-content">
  <dl>
    <dt>播放码：</dt>
    <dd>
      <input type="text" class="input normal" autocomplete="off" name="search" datatype="*2-100" sucmsg=" " placeholder="请输入播放码" value="36818201" />
      <span class="Validform_checktip">*系统随机生成的八位播放码</span>
    </dd>
  </dl>
</div>
<!--/内容-->

<!--工具栏-->
<div class="page-footer">
  <div class="btn-wrap">
    <input type="button" name="btnSubmit" value="提交查看" class="btn" />
    <input type="button" name="btnReturn" value="返回上一页" class="btn yellow" onclick="javascript:history.back(-1);" />
  </div>
</div>
<!--/工具栏-->

</form>
</body>
{/block}